<template>
  <div>
    <div class="demo">
      <h1>学生姓名：{{name}}</h1>
      <h1>年龄：{{age+1}}</h1>
    </div>
  </div>
</template>

<script>
export default {
  name: "Student",
  data() {
    return {
      msg: 'hello',
      name: "张三",
      age: 12
    }
  },

}
</script>

<style scoped lang="css">
  .demo {
    background: orange;
  }
</style>